﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LogImplementation
{
    public class clsLog
    {
        static NLog.Logger _logger = NLog.LogManager.GetCurrentClassLogger();
        static ILog current;
        static clsLog()
        {
            current=DeftTech.DuckTyping.DuckTyping.Cast<ILog>(_logger);
        }
        public static ILog Logger
        {
            get
            {
                return current;
            }
        }

    }
}
